package com.game.fighting;

import org.springframework.boot.websocket.socketapi.MsgReceive;
import org.springframework.stereotype.Component;

/**
 * Copyright (C), 2021-2041, chenc 豫R7HQ53
 *
 * @author: chenc
 * Date:     2023/12/5 22:11
 * Description:
 */
@Component
public class MsgHandler implements MsgReceive {
    @Override
    public void dealMsg(String msg, String msgType) {
        System.out.println(msg+msgType);
        sendBroadcastMsg(msg);
    }
}
